package com.ruoyi.material.domain;

import lombok.Builder;
import lombok.Data;
import lombok.experimental.Accessors;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 标记文件信息对象 base_tag_file
 * 
 * @author ruoyi
 * @date 2021-07-20
 */
@Data
@Accessors(chain = true)
public class BaseTagFile extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 标记文件id */
    @Excel(name = "标记文件id")
    private Long fileCode;

    /** 类别 */
    @Excel(name = "类别")
    private Long tagCategory;

    /** 画框坐标信息 */
    @Excel(name = "画框坐标信息")
    private String tagInfo;


    /** 删除标记，0代表未删除，1代表已删除 */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setFileCode(Long fileCode) 
    {
        this.fileCode = fileCode;
    }

    public Long getFileCode() 
    {
        return fileCode;
    }
    public void setTagCategory(Long tagCategory) 
    {
        this.tagCategory = tagCategory;
    }

    public Long getTagCategory() 
    {
        return tagCategory;
    }
    public void setTagInfo(String tagInfo) 
    {
        this.tagInfo = tagInfo;
    }

    public String getTagInfo() 
    {
        return tagInfo;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("fileCode", getFileCode())
            .append("tagCategory", getTagCategory())
            .append("tagInfo", getTagInfo())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
